.component-classifieds {
  z-index: 10;

  .classifieds-box {
    display: flex;
    justify-content: flex-start;
    width: 1200px;
    height: 450px;
    background: #fff;
  }

  .classifieds-box.in-shop {
    height: 300px;
    width: 930px;
  }

  .c-left {
    position: relative;
    display: block;
    width: 187px;
    height: 449px;
    background: #e1251b;
    color: #fff;
    border-bottom: 1px solid #e1251b;

    .list {
      max-height: 449px;
      overflow: auto;
    }

    /* 滚动条样式 */
    .list::-webkit-scrollbar {
      display: none;
    }
  }

  /* 上下箭头 */
  .c-left {
    .up-arrow {
      position: absolute;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: auto;
      box-sizing: border-box;
      cursor: pointer;
      top: 0;
      padding-bottom: 12px;
      background: -webkit-linear-gradient(top, rgba(68, 68, 68, 0.2) 0%, rgba(68, 68, 68, 0.1) 75%, rgba(68, 68, 68, 0) 98%);
      background: -o-linear-gradient(bottom, rgba(68, 68, 68, 0.2) 0%, rgba(68, 68, 68, 0.1) 75%, rgba(68, 68, 68, 0) 98%);
      background: -moz-linear-gradient(bottom, rgba(68, 68, 68, 0.2) 0%, rgba(68, 68, 68, 0.1) 75%, rgba(68, 68, 68, 0) 98%);
      background: linear-gradient(to bottom, rgba(68, 68, 68, 0.2) 0%, rgba(68, 68, 68, 0.1) 75%, rgba(68, 68, 68, 0) 98%);

      img {
        position: relative;
        display: block;
        width: 25px;
        height: 25px;
        opacity: .9;
        right: 15px;
      }
    }

    .down-arrow {
      position: absolute;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: auto;
      box-sizing: border-box;
      cursor: pointer;
      bottom: 0;
      padding-top: 12px;
      background: -webkit-linear-gradient(bottom, rgba(68, 68, 68, 0.2) 0%, rgba(68, 68, 68, 0.1) 75%, rgba(68, 68, 68, 0) 98%);
      background: -o-linear-gradient(top, rgba(68, 68, 68, 0.2) 0%, rgba(68, 68, 68, 0.1) 75%, rgba(68, 68, 68, 0) 98%);
      background: -moz-linear-gradient(top, rgba(68, 68, 68, 0.2) 0%, rgba(68, 68, 68, 0.1) 75%, rgba(68, 68, 68, 0) 98%);
      background: linear-gradient(to top, rgba(68, 68, 68, 0.2) 0%, rgba(68, 68, 68, 0.1) 75%, rgba(68, 68, 68, 0) 98%);

      img {
        right: 20px;
      }
    }
  }

  .down-arrow {
    img {
      position: relative;
      display: block;
      width: 25px;
      height: 25px;
      opacity: .9;
    }
  }

  /* 上下箭头 end */
  .c-left {
    .c-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 25px;
      height: 55px;
      line-height: 55px;
      cursor: pointer;
      box-sizing: border-box;

      &:hover {
        background: #e64d45;
      }

      .category {
        display: flex;
        align-items: center;
        height: 55px;
        line-height: 1em;

        .c-icon {
          display: block;
          width: 16px;
          height: 15px;
          margin-right: 8px;
        }
      }
    }

    .c-item.active {
      background: #fff;
      color: #e1251b;
    }
  }

  /* ie 全部商品分类li去掉小黑点 */
  @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .c-left .c-item .category .c-icon {
      display: none;
    }
  }

  .c-name {
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100px;
  }

  .c-arrow-icon {
    display: block;
    width: 6px;
    height: 11px;
    margin-top: 5px;
  }

  .c-right {
    display: flex;
    justify-content: space-between;
    flex: 1;
    border-right: 1px solid #e1251b;
    border-top: 1px solid #e1251b;
    border-bottom: 1px solid #e1251b;
  }

  .in-shop {
    .c-right {
      width: 100%;
      border-left: 1px solid #333;
      border-right: 1px solid #333;
      border-bottom: 1px solid #333;
      border-top: 0;
    }
  }

  /* 下级分类 */
  .c-right {
    .sub-category {
      flex: 1;
      max-height: 450px;
      overflow-x: hidden;

      &::-webkit-scrollbar {
        display: none;
      }

      .sub-item {
        display: flex;
        justify-content: flex-start;
        margin-top: 20px;
      }
    }

    .second-level {
      display: flex;
      justify-content: flex-start;
      width: 140px;
      padding: 0 30px;
      font-weight: bold;
      box-sizing: border-box;
      cursor: pointer;
      color: #000;

      &:hover {
        color: #e1251b;
      }

      .c-name {
        max-height: 42px;
        line-height: 1.5em;
        max-width: 78px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        word-break: break-all;
        white-space: pre-wrap;
      }

      .c-arrow-icon {
        margin-left: 10px;
      }
    }

    .second-level.width {
      width: 160px;
    }

    .in-shop {
      .second-level {
        width: 160px;

        .c-name {
          width: 90px;
        }
      }
    }

    .second-level.active {
      color: #e1251b;
    }

    .tertiary-level {
      .t-list {
        display: block;
        line-height: 1em;
        width: 800px;
        margin-right: 40px;
        padding-bottom: 8px;
        padding-top: 2px;
        border-bottom: 1px solid #EAEAEA;
        text-align: left;
      }

      .t-list.width {
        width: 800px;
      }

      .t-item {
        display: inline-block;
        font-size: 12px;
        line-height: 1em;
        color: #666;
        margin-right: 20px;
        margin-bottom: 10px;
        cursor: pointer;

        &:hover {
          color: #e1251b;
        }
      }

      .t-item.weak {
        color: #ccc;

        &:hover {
          color: #ccc;
        }
      }

      .t-item.active {
        color: #e1251b;
      }
    }
  }

  .in-shop {
    .tertiary-level {
      .t-list {
        width: 750px;
      }
    }
  }

  /* 推荐品牌 */
  .c-right {
    .featured-brands {
      display: block;
      width: 220px;
      background: #f8f8f8;
      padding: 0 12px;
      box-sizing: border-box;

      .brands-tit {
        display: block;
        height: 50px;
        line-height: 50px;
        text-align: center;
        font-size: 15px;
        font-weight: bold;
        color: #000;
      }

      .brands-list {
        display: block;
        text-align: left;
      }

      .b-item {
        display: inline-block;
        width: 90px;
        height: 90px;
        background: #fff;
        margin-bottom: 0;
        box-shadow: 0 0 2px 0 rgba(0, 0, 0, .1);
        cursor: pointer;

        &:not(:nth-child(2n)) {
          margin-right: 10px;
        }

        img {
          display: block;
          width: 100%;
          height: 100%;
          object-fit: contain;
        }
      }

      .b-item.no-margin {
        margin-right: 0;
      }
    }

    .empty {
      width: 100%;
      height: auto;
      text-align: center;
      font-size: 12px;
      color: #888;
    }
  }

}

.classifieds {
  display: block;
  position: absolute;
  bottom: -450px;
  left: 0;
  z-index: 111;
}
